﻿using SqlMonitoring.Core.Logging;

namespace SqlMonitoring.Agent.AgentServiceBase
{
    /// <summary>
    ///   Defines the interface for service classes.
    /// </summary>
    public interface IAgent : IConfigurable, IRunnable
    {
        /// <summary>
        ///   When implemented in a class, gets the logger for log operations.
        /// </summary>
        Logging Log { get; set; }
        
        /// <summary>
        ///   When implemented in a class, signals the implementer that it should execute its operations.
        /// </summary>
        void Execute();
    }
}